home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
source
/
swagd-f
/
drives.swg
/
0007_DRIVES2.PAS.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
1993-05-28
|
351 b
|
20 lines
Program DriveID;
Uses
Dos;
Const
First : Boolean = True;
Var
Count : Integer;
begin
Write('You have the following Drives: ');
For Count := 3 to 26 do
if DiskSize(Count) > 0 then
begin
if not First then
Write(', ');
First := False;
Write(UpCase(Chr(ord('a') - 1 + Count)),':')
end;
WriteLn;
end.